package com.example.jmeter.exception;

import com.example.jmeter.enums.OsType;

/**
 * @program: spring-agent
 * @description:
 * @author: zt22328 赵儒定
 * @create: 2023-04-19 10:48
 **/
public class OSCmdException extends RuntimeException{

    public OSCmdException(OsType os, String cmd, Throwable cause) {
        super(String.format("%s 平台命令 [%s] 执行异常！", os.name(), cmd), cause);
    }
}
